package azcat.planner.gui;

import javax.swing.JPanel;
import net.miginfocom.swing.MigLayout;
import javax.swing.JLabel;
import java.awt.Font;

import javax.swing.DefaultComboBoxModel;
import javax.swing.JComboBox;
import javax.swing.JTextField;

public class ToolsLayoutPanel extends JPanel {
	private JLabel lblHerramienta;
	private JLabel lblPiezasPorUso;
	private JComboBox<String> comboBox;
	private JTextField textField;

	/**
	 * Create the panel.
	 */
	public ToolsLayoutPanel() {
		setLayout(new MigLayout("", "[][][]", "[][][]"));
		
		lblHerramienta = new JLabel("Herramienta");
		lblHerramienta.setFont(new Font("Tahoma", Font.BOLD, 13));
		add(lblHerramienta, "cell 0 0,alignx center");
		
		lblPiezasPorUso = new JLabel("Piezas por Hora");
		lblPiezasPorUso.setFont(new Font("Tahoma", Font.BOLD, 13));
		add(lblPiezasPorUso, "cell 2 0");
		
		comboBox = new JComboBox<String>();
		add(comboBox, "cell 0 2,growx");
		
		textField = new JTextField();
		add(textField, "cell 2 2,alignx center");
		textField.setColumns(5);
		
		comboBox.setModel(new DefaultComboBoxModel<String>(new String[] {"","WARCO 150 T",
				"OP. Cortes Manuales",
				"OP. de Sierra Vert. / Hor.",
				"OP. de Sierra Dayton",
				"OP. de Sierra Acra",
				"OP. de Sierra Circular",
				"OP. Termoformado",
				"Mesa de Liners",
				"Pistola de Aire Caliente",
				"Marcar Carton o Coroplast",
				"Sellar Bolsas / Cajas",
				"Scorear / Grapar",
				"Limpiar Coroplast o Carton",
				"Pistola de Hot Mealt",
				"Mesa de Cortes Especiales",
				"Limpiar Celluplank o Crosslink",
				"Poner Perfiles con Esquineros",
				"Poner Ribets / Hand Holes",
				"Poner Corbatas / Velcro",
				"Colocar Pieza en Contenedor",
				"Armar Particion",
				"Empaque de Producto",
				"Prensar Producto Laminado",
				"Pegar con Aplicador de .250 ml",
				"Perforar Cintos Nylon",
}));

	}

}
